/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Practica7.Practica;

/**
 *
 * @author miguel
 */
public class BinomialNode<Comparable> {
    
    Comparable element;
    BinomialNode<Comparable> leftChild;
    BinomialNode<Comparable> nextSibling;

    public BinomialNode(Comparable element, BinomialNode<Comparable> leftChild, BinomialNode<Comparable> nextSibling) {
        this.element = element;
        this.leftChild = leftChild;
        this.nextSibling = nextSibling;
    }

    public BinomialNode(Comparable element) {
        this(element, null, null);
    }

    
    
    
    
    
}
